﻿using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Xml.Serialization;

/// <summary>
/// Summary description for UserPhone
/// </summary>

[XmlRootAttribute("UserPhone", Namespace = "", IsNullable = false)]
public class UserPhone
{
    [XmlAttribute("PhoneNum")]
    public string PhoneNum;

    [XmlArrayItem("Scores")]
    public string[] Scores;

	public UserPhone()
	{
        
	}

    [XmlAttribute("AisScore")]
    public double AisScore = 0;

    [XmlAttribute("DtacScore")]
    public double DtacScore = 0;

    [XmlAttribute("TmoveScore")]
    public double TmoveScore = 0;

    [XmlAttribute("SmsCount")]
    public double SmsCount = 0;


    [XmlAttribute("MmsCount")]
    public double MmsCount = 0;

    [XmlAttribute("InternetType")]
    public int InternetType = 6;

    [XmlAttribute("InternetHours")]
    public double InternetHour = 0;

    [XmlAttribute("InternetMb")]
    public double InternetMB = 0;

    [XmlAttribute("InternetMbPerHour")]
    public double InternetMbPerHour = 5;

    [XmlAttribute("PaymentType")]
    public int PaymentType = 2;

    public UserPhone(string phoneNum)
    {
        PhoneNum = phoneNum;
    }

}